<template>
  <div class="dialog">
    <el-dialog title="提示" :visible.sync="addlevelDialog" width="844px" top="42vh" center>
      <div slot="title" class="header-title">
        <span v-show="name" class="title-name">{{ name }}</span>
        <!-- <span class="title-age">age</span> -->
      </div>
      <div class="dialog-bd">
        <el-form :label-position="labelPosition" label-width="80px" :model="formLabelAlign">
          <el-form-item label="等级名称">
            <el-input v-model="formLabelAlign.name" style="width:240px" />
          </el-form-item>
        </el-form>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button @click="addlevelDialog = false">取 消</el-button>
        <el-button type="primary" @click="addlevelDialog = false">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>
<script>
export default {
  data() {
    return {
      name: '添加用户等级设置',
      labelPosition: 'right',
      formLabelAlign: {
        name: '',
        region: '',
        type: ''
      }
    }
  }
}
</script>

